Skip to content

DOCSP-43953: v2 iterator changes #172

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 22, 2024

Conversation

rustagir
Copy link
Collaborator

@rustagir rustagir commented Oct 22, 2024

Pull Request Info

PR Reviewing Guidelines

JIRA - https://jira.mongodb.org/browse/DOCSP-43953
Staging - https://deploy-preview-172--docs-php-library.netlify.app/whats-new/#std-label-php-lib-version-2.0

Self-Review Checklist

  • Is this free of any warnings or errors in the RST?
  • Did you run a spell-check?
  • Did you run a grammar-check?
  • Are all the links working?
  • Are the facets and meta keywords accurate?

Copy link

netlify bot commented Oct 22, 2024

Deploy Preview for docs-php-library ready!

Name Link
🔨 Latest commit af4e400
🔍 Latest deploy log https://app.netlify.com/sites/docs-php-library/deploys/6718000133099800084feea4
😎 Deploy Preview https://deploy-preview-172--docs-php-library.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@norareidy norareidy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM + two comments!

@@ -8,8 +8,8 @@ Definition
.. phpclass:: MongoDB\Model\CollectionInfo

This class models information about a collection. Instances of this class are
returned by traversing a :phpclass:`MongoDB\Model\CollectionInfoIterator`,
which is returned by :phpmethod:`MongoDB\Database::listCollections()`.
returned in an `Iterator <{+php-manual}/class.iterator.php>`__
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

S: [nit] since this sentence uses "returned" twice, you could change to "stored"

Suggested change
returned in an `Iterator <{+php-manual}/class.iterator.php>`__
stored in an `Iterator <{+php-manual}/class.iterator.php>`__

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applies to all

@@ -8,8 +8,8 @@ Definition
.. phpclass:: MongoDB\Model\CollectionInfo

This class models information about a collection. Instances of this class are
returned by traversing a :phpclass:`MongoDB\Model\CollectionInfoIterator`,
which is returned by :phpmethod:`MongoDB\Database::listCollections()`.
returned in an `Iterator <{+php-manual}/class.iterator.php>`__
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I: add the closing + to fix the link:

Suggested change
returned in an `Iterator <{+php-manual}/class.iterator.php>`__
returned in an `Iterator <{+php-manual+}/class.iterator.php>`__

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applies to all Iterator links

@rustagir rustagir force-pushed the DOCSP-43953-v2-iterator-changes branch from 9cd5448 to 73bd978 Compare October 22, 2024 19:35
@rustagir rustagir merged commit 4205c7c into mongodb:v2.0 Oct 22, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants